/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once


#include "../PBF_GPU数据.h"




void f_CUDA_update刚体区间(S_PBF_Gpu& pbf, uint64 粒子数, uint32* 每个刚体粒子起始, uint16* 每个刚体粒子数, uint16 批次);
void f_CUDA_拷贝刚体粒子初始坐标(S_PBF_Gpu& pbf, uint64 粒子数, vec3* pos);

void f_CUDA_update刚体粒子(S_PBF_Gpu& pbf, uint32 刚体数量, uint16 批次 = 1);








